package xy.web;

public final class PageItem {
	public final static String AJAX = "/frameJsp/ajax.jsp";
	
	protected boolean redirect = false;
	protected String url = AJAX;

	public boolean isRedirect() {
		return redirect;
	}

	public String getUrl() {
		return url;
	}

	public String toString(){
		return "{redirect:"+redirect+",url:"+url+"}";
	}

	public void setRedirect(boolean redirect) {
		this.redirect = redirect;
	}

	public void setUrl(String url) {
		this.url = url;
	}
}
